//
//  TimeLabelTableViewCell.m
//  PlayerWorld
//
//  Created by 汪的一声就哭了！ on 16/8/16.
//  Copyright © 2016年 刘成. All rights reserved.
//

#import "TimeLabelTableViewCell.h"

@implementation TimeLabelTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.timeLabel = [[UILabel alloc] init];
        [self.contentView addSubview:self.timeLabel];
        self.timeLabel.numberOfLines = 0;
    }
    return self;
}
- (void)layoutSubviews
{
    [super layoutSubviews];
    self.timeLabel.frame = CGRectMake(10, 0, self.contentView.bounds.size.width-20, self.contentView.bounds.size.height);
}
@end
